<?php
include("global.php");
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
$id=$_GET["id"];
$giorni=$_GET["giorni"];
$url=getGraphurl($id,$giorni);
$arr=explode("/",dirname($_SERVER['PHP_SELF']));

$url = "http://" . $_SERVER['SERVER_NAME'] . "/".$url;
$url_encode=urlencode($url);
?>
<html><head></head>
<body style="margin:0px;padding: 0px;">

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
 codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" 
 id="graphx" align="middle" height="100%" width="100%">
<param name="allowScriptAccess" value="always">
<param name="movie" value="open-flash-chart.swf?data=<?php echo $url_encode;?>">
<param name="quality" value="high">
<param name="bgcolor" value="#FFFFFF">
<embed src="open-flash-chart.swf?data=<?php echo $url_encode;?>" quality="high"
 bgcolor="#FFFFFF" name="open-flash-chart" allowscriptaccess="always" type="application/x-shockwave-flash"
  pluginspage="http://www.macromedia.com/go/getflashplayer" align="middle" height="100%" width="100%" id="graph">
</object>


</body>